package com.googlecode.chigscommons.web.dav;

import javax.jcr.Repository;

import org.apache.jackrabbit.webdav.jcr.JCRWebdavServerServlet;
import org.apache.wicket.Application;

import com.googlecode.chigscommons.web.WicketApplication;

public class JcrServlet extends JCRWebdavServerServlet {

	public JcrServlet() {
	}

	@Override
	protected Repository getRepository() {
		WicketApplication app = (WicketApplication) Application.get("wicket.chigs");
		return app.getRepository();
	}
}
